package com.lzy.web.form;

public class JsonResponse4Ext {

	private boolean success = true;

	private Object result;

	private String errorMessages;

	public JsonResponse4Ext() {
	}

	public JsonResponse4Ext(boolean status) {
		this(status, null);
	}

	public JsonResponse4Ext(boolean status, Object result) {
		this.success = status;
		this.setResult(result);
	}

	public Object getResult() {
		return result;
	}

	public String getErrorMessages() {
		return errorMessages;
	}

	public void setErrorMessages(String errorMessages) {
		this.errorMessages = errorMessages;
	}

	public void setResult(Object result) {
		this.result = result;
	}

	public boolean getSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

}
